import request from '@/utils/request'

// 查询地图管理列表
export function pageList(query) {
  return request({
    url: '/system/advOrderAttachment/pageList',
    method: 'get',
    params: query
  })
}
//新增banner
export function advOrderAttachmentAdd(data) {
    return request({
      url: '/system/advOrderAttachment',
      method: 'post',
      data: data
    })
  }
  export function advOrderAttachmentEdit(data) {
    return request({
      url: '/system/advOrderAttachment',
      method: 'put',
      data: data
    })
  }
  export function advOrderAttachmentInfo(params) {
    return request({
      url: '/system/advOrderAttachment/getInfo',
      method: 'get',
      params: params
    })
  }
  export function advOrderAttachmentDel(data) {
    return request({
      url: '/system/advOrderAttachment/' + data,
      method: 'DELETE',
      params: data
    })
  }